package com.chen.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chen.mapper.FileMapper;
import com.chen.pojo.Files;
import com.chen.service.FilesService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author chen
 * @date 2022/5/4 15:37
 */
@Service
@Transactional
public class FilesServiceImpl extends ServiceImpl<FileMapper,Files> implements FilesService {


    @Resource
    private FileMapper fileMapper;

    @Override
    public Files findPoints(int id) {
        return fileMapper.findPoints(id);
    }
}
